from game.object.item import Item

class DoodadState:
    def __init__(self, name):
        #doodad state e.g. open, closed, full, empty, up, down, locked
        self.name = name

        #doodad solidity e.g. solid, empty
        self.block_light = 1
        self.block_sound = 1
        self.block_path = 1
        self.block_roof = 1

        #doodad allow diagonal entry in and out of tile
        self.allow_diag = 1

        self.act_default = None
        self.actions = []

class Doodad(Item):
    def __init__(self, name, **args):
        Item.__init__(self, name, **args)

        self.group = 'doodad'

        self.state = None

        